﻿
using FreeSql.DataAnnotations;

namespace Demo.GIS.GadgetServices.DBModels
{
    /// <summary>
    /// 演示保存物件信息
    /// </summary>
    [Table(Name = "DemoGadgetInfo")]
    public class DemoGadgetInfo
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        [Column(IsPrimary = true)]
        public long DGIID { get; set; } = LuanNiao.Core.IDGen.GetInstance().NextId();

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; } = "";
        /// <summary>
        /// 组件信息描述
        /// </summary>
        public string GadgetInfo { get; set; } = "";
    }
}
